package com.campus.pojos.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("client_comment")
public class ClientComment {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long rootId;

    private Long parentId;

    private Long userId;

    private Long toUserId;

    private Long articleId;

    private String commentContext;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
